package com.weilx959.spt.core;

import javafx.stage.Stage;

/**
 * stage context
 * @author weilx
 * @since 2023-7-27
 */
public class StageContext {
    private StageContext() {
    }

    private static Stage stage;

    public static void set(Stage stage) {
        StageContext.stage = stage;
    }

    public static Stage get() {
        return stage;
    }
}
